Skip to content

fix(ci): update Jev context limits and retries - #1329

Merged
betegon merged 1 commit into
mainfrom
bt/jev-context-rollout
Sep 23, 2026
Merged

betegon merged 1 commit into
mainfrom
bt/jev-context-rollout

Conversation

@betegon

@betegon betegon commented Sep 23, 2026

Copy link
Copy Markdown
Member

Updates the pinned PR risk Action to retain PR metadata while bounding large code diffs, handle binary files as metadata, and retry transient provider failures up to four times with 10/20/30-second waits.

The Action records omitted code and keeps the title, description, and complete file inventory. This rolls out the merged context-budget and retry fixes without changing workflow triggers or label publication.

Co-Authored-By: GPT-6 Astra <noreply@openai.com>
@betegon
betegon marked this pull request as ready for review September 23, 2026 18:50
@github-actions github-actions Bot added the risk: low PR risk score: low label Sep 23, 2026
@betegon
betegon merged commit 2d36483 into main Sep 23, 2026
22 checks passed
@betegon
betegon deleted the bt/jev-context-rollout branch September 23, 2026 18:54
BYK added a commit that referenced this pull request Sep 30, 2026
…lish (#1330)

Replaces the hand-rolled ~250 lines of `generate-patches` and
`publish-nightly` bash in `.github/workflows/ci.yml` with the
`BYK/binpatch/action@v0.4.1` composite action. The action handles:

- ORAS CLI install + GHCR login
- Previous-nightly discovery (with the same-series filter that fixes the
cross-major nightly tag confusion)
- zig-bsdiff invocation + patch size gate (50% ratio)
- Binary + versioned-tag + patch manifest push with `from-version`
annotation threaded via action outputs

This eliminates the divergence bug we hit twice:

- The PREV_TAG recomputation divergence between generate-patches and
publish-nightly (PR #1327 fixed this in the hand-rolled shell; the
action solves it generically by exposing
`generate-ghcr.outputs.from-version` and consuming it as a
`publish-ghcr` input — see BYK/binpatch#40)
- The cross-major nightly tag confusion (PR #1329 fixed this in the
hand-rolled shell; the action's `validateChainStep` does the equivalent
check at chain-resolution time)

Also bumps the `binpatch` runtime dep from `^0.3.1` to `^0.4.1` for the
new `openSync`/`writeSync`/`closeSync` output path (which avoids the
ETXTBSY race when chaining into a `spawn(tempPath)`).

## Files

- `.github/workflows/ci.yml`: -220 lines of hand-rolled shell, +10 lines
of action wiring
- `packages/cli/package.json`: binpatch ^0.3.1 → ^0.4.1
- `pnpm-lock.yaml`: regenerated

## Diff

```
.github/workflows/ci.yml                           | 347 +++++++-------
packages/cli/package.json                          |   2 +-
pnpm-lock.yaml                                     |  10 +-
```

## Verification

- `node -e 'require("yaml").parse(...)'` parses cleanly
- `pnpm --filter sentry run typecheck`: clean
- `pnpm --filter sentry run lint`: clean
- Lint passes (no shell-script lint script; YAML is the only surface)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mr-danya pushed a commit to mr-danya/sentry-mcp that referenced this pull request Oct 6, 2026
…lish (getsentry#1330)

Replaces the hand-rolled ~250 lines of `generate-patches` and
`publish-nightly` bash in `.github/workflows/ci.yml` with the
`BYK/binpatch/action@v0.4.1` composite action. The action handles:

- ORAS CLI install + GHCR login
- Previous-nightly discovery (with the same-series filter that fixes the
cross-major nightly tag confusion)
- zig-bsdiff invocation + patch size gate (50% ratio)
- Binary + versioned-tag + patch manifest push with `from-version`
annotation threaded via action outputs

This eliminates the divergence bug we hit twice:

- The PREV_TAG recomputation divergence between generate-patches and
publish-nightly (PR getsentry#1327 fixed this in the hand-rolled shell; the
action solves it generically by exposing
`generate-ghcr.outputs.from-version` and consuming it as a
`publish-ghcr` input — see BYK/binpatch#40)
- The cross-major nightly tag confusion (PR getsentry#1329 fixed this in the
hand-rolled shell; the action's `validateChainStep` does the equivalent
check at chain-resolution time)

Also bumps the `binpatch` runtime dep from `^0.3.1` to `^0.4.1` for the
new `openSync`/`writeSync`/`closeSync` output path (which avoids the
ETXTBSY race when chaining into a `spawn(tempPath)`).

## Files

- `.github/workflows/ci.yml`: -220 lines of hand-rolled shell, +10 lines
of action wiring
- `packages/cli/package.json`: binpatch ^0.3.1 → ^0.4.1
- `pnpm-lock.yaml`: regenerated

## Diff

```
.github/workflows/ci.yml                           | 347 +++++++-------
packages/cli/package.json                          |   2 +-
pnpm-lock.yaml                                     |  10 +-
```

## Verification

- `node -e 'require("yaml").parse(...)'` parses cleanly
- `pnpm --filter sentry run typecheck`: clean
- `pnpm --filter sentry run lint`: clean
- Lint passes (no shell-script lint script; YAML is the only surface)

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant